package net.dgg.dggcloud.service.jrcrm.entity.customer;

import net.dgg.dggcloud.service.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @ClassName: ReturnVisitRecord-客户回访记录表
 * @Description: 用于客户回访结果记录
 * @author 钟鑫
 * @Date: 2017年11月18日 15:05:41
 * @Version V1.0
 */
@Entity
@Table(name = "cus_return_visit_record")
public class ReturnVisitRecord extends BaseEntity{

    /**
     * 客户id
     */
    @Column(name = "customer_id")
    private Long customerId;

    /**
     * 商机id
     */
    @Column(name = "bus_id")
    private Long busId;

    /**
     * 回访时商机状态
     */
    @Column(name = "bus_status")
    private String busStatus;

    /**
     * 回访人id
     */
    @Column(name = "return_visit_id")
    private Long returnVisitId;

    /**
     * 回访人姓名+工号
     */
    @Column(name = "return_visit_name")
    private String returnVisitName;

    /**
     * 分配人id
     */
    @Column(name = "allot_id")
    private Long allotId;

    /**
     * 分配人姓名+工号
     */
    @Column(name = "allot_name")
    private String allotName;

    /**
     * 回访结果code
     */
    @Column(name = "visit_result_code")
    private String visitResultCode;

    /**
     * 回访结果名称
     */
    @Column(name = "visit_result_name")
    private String visitResultName;

    /**
     * 回访结果原因code
     */
    @Column(name = "result_reason_code")
    private String resultReasonCode;

    /**
     * 回访结果原因描述
     */
    @Column(name = "result_reason_description")
    private String resultReasonDescription;
  ;


    public Long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }

    public Long getBusId() {
        return busId;
    }

    public void setBusId(Long busId) {
        this.busId = busId;
    }

    public Long getReturnVisitId() {
        return returnVisitId;
    }

    public void setReturnVisitId(Long returnVisitId) {
        this.returnVisitId = returnVisitId;
    }

    public String getReturnVisitName() {
        return returnVisitName;
    }

    public void setReturnVisitName(String returnVisitName) {
        this.returnVisitName = returnVisitName;
    }

    public Long getAllotId() {
        return allotId;
    }

    public void setAllotId(Long allotId) {
        this.allotId = allotId;
    }

    public String getAllotName() {
        return allotName;
    }

    public void setAllotName(String allotName) {
        this.allotName = allotName;
    }

    public String getVisitResultCode() {
        return visitResultCode;
    }

    public void setVisitResultCode(String visitResultCode) {
        this.visitResultCode = visitResultCode;
    }

    public String getVisitResultName() {
        return visitResultName;
    }

    public void setVisitResultName(String visitResultName) {
        this.visitResultName = visitResultName;
    }



    public String getResultReasonCode() {
        return resultReasonCode;
    }

    public void setResultReasonCode(String resultReasonCode) {
        this.resultReasonCode = resultReasonCode;
    }

    public String getResultReasonDescription() {
        return resultReasonDescription;
    }

    public void setResultReasonDescription(String resultReasonDescription) {
        this.resultReasonDescription = resultReasonDescription;
    }

    public String getBusStatus() {
        return busStatus;
    }

    public void setBusStatus(String busStatus) {
        this.busStatus = busStatus;
    }


}